//设置token
export const setToken = (token) => localStorage.setItem("token", token);
// 获取token
export const getToken = () => localStorage.getItem("token");
// 删除token
export const removeToken = () => localStorage.removeItem("token");
// 判断是否登录
export const isLogined = () => {
  if (getToken()) {
    return true;
  }
  return false;
};
